Platform Explorer / Nuxeo Platform 5.8

Component org.nuxeo.drive.layouts

Contributions

XML Source

<?xml version="1.0"?>
<component name="org.nuxeo.drive.layouts">

  <extension target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager"
    point="layouts">

    <layout name="synchronizationRoots">
      <templates>
        <template mode="any">
          /layouts/synchronization_roots_layout_template.xhtml
        </template>
      </templates>
      <rows>
        <row>
          <widget>syncRootTitle</widget>
        </row>
        <row>
          <widget>syncRootPath</widget>
        </row>
      </rows>
    </layout>

  </extension>

  <extension target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager"
    point="widgets">

    <widget name="syncRootTitle" type="listing_title_link">
      <labels>
        <label mode="any">user.center.nuxeoDrive.syncRoots.title</label>
      </labels>
      <translated>true</translated>
      <fields>
        <field></field>
        <field>ref</field>
        <field>dc.description</field>
      </fields>
      <widgetModes>
        <mode value="any">view</mode>
      </widgetModes>
    </widget>

    <widget name="syncRootPath" type="text">
      <labels>
        <label mode="any">user.center.nuxeoDrive.syncRoots.path</label>
      </labels>
      <translated>true</translated>
      <fields>
        <field>pathAsString</field>
      </fields>
      <widgetModes>
        <mode value="edit">view</mode>
      </widgetModes>
    </widget>

  </extension>

</component>